package cn.edu.zafu.bigdata.x.sxy;

public class TestInterface {
    public static void main(String[] args) {
        Movable car = new Car2();
        Movable circle = new ResizableCircle(5);
        car.move();
        car.stop();
        Resizable resizableCircle = (Resizable) circle;
        resizableCircle.resize(2);
    }
}
